import json

from flask import request
from flask_restful import Resource

# 定义类视图
class HomeResouce(Resource):
    def post(self):
        return {'msg':'ok'}